Setting a PHP $_SESSION['var'] using jQuery

Posted by mike condiff on Stack Overflow See other posts from Stack Overflow or by mike condiff
Published on 2009-03-03T19:04:01Z Indexed on 2010/03/23 0:31 UTC
Read the original article Hit count: 424

Filed under:
|
|

I need to set a PHP $_SESSION variable using the jQuery. IF the user clicks on an image I want to save a piece of information associated with that image as a session variable in php.

I think I can do this by calling a php page or function and appending that piece of info to the query string.

Any ideas. I have found little help through google.

thanks mike

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about php